﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsEmailAppoint
    {
		DataAccess.ClsEmailAppoint objDAMC = new ECCSystem.DataAccess.ClsEmailAppoint();
		public ClsEmailAppoint()
        { }
        //Get all MailCategory records list

		public void AddEmailAppoint(DateTime dtStartTime, DateTime dtEndTime, string strUserName, string strUserID, int intUserID, string strKeyID, string strCSKeyID)
        {
			objDAMC.AddEmailAppoint(dtStartTime, dtEndTime, strUserName, strUserID, intUserID, strKeyID, strCSKeyID);

        }

		public object GetList()
		{
			return objDAMC.GetEmailAppoint();
		}

		public void DeleteEmailAppoint(string strID)
		{
			objDAMC.DeleteEmailAppoint(strID);
		}

		public void UpdateEmailAppoint(string strID, DateTime dtStartTime, DateTime dtEndTime, string strUserName, string strUserID, int intUserID, string strKeyID, string strCSKeyID)
		{
			objDAMC.UpdateEmailAppoint(strID, dtStartTime, dtEndTime, strUserName, strUserID, intUserID, strKeyID, strCSKeyID);
		}
    }
}
